package com.ruoyi.report.forms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * ????????״?对象 dispatch_access
 * 
 * @author ruoyi
 * @date 2024-03-05
 */
public class DispatchAccess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 上级ID */
    @Excel(name = "上级ID")
    private String parentId;

    /** 接入点1;1气源类型;2供气节点;3接气点类型;4接气点 */
    @Excel(name = "接入点1;1气源类型;2供气节点;3接气点类型;4接气点")
    private String rankNumber;

    /** 类编码 */
    @Excel(name = "类编码")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    /** 编辑时间 */
    @Excel(name = "编辑时间")
    private String editTime;

    /** 显示规划 */
    @Excel(name = "显示规划")
    private String showRule;

    /** 描述 */
    @Excel(name = "描述")
    private String described;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    private List<DispatchAccess> dispatchAccessList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setRankNumber(String rankNumber) 
    {
        this.rankNumber = rankNumber;
    }

    public String getRankNumber() 
    {
        return rankNumber;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }
    public void setEditTime(String editTime) 
    {
        this.editTime = editTime;
    }

    public String getEditTime() 
    {
        return editTime;
    }
    public void setShowRule(String showRule) 
    {
        this.showRule = showRule;
    }

    public String getShowRule() 
    {
        return showRule;
    }
    public void setDescribed(String described) 
    {
        this.described = described;
    }

    public String getDescribed() 
    {
        return described;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }
    public List<DispatchAccess> getDispatchAccessList() {
        return dispatchAccessList;
    }

    public void setDispatchAccessList(List<DispatchAccess> dispatchAccessList) {
        this.dispatchAccessList = dispatchAccessList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("rankNumber", getRankNumber())
            .append("code", getCode())
            .append("name", getName())
            .append("sort", getSort())
            .append("editTime", getEditTime())
            .append("showRule", getShowRule())
            .append("described", getDescribed())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
